package cn.edu.hit.ht.dao;

import cn.edu.hit.ht.pojo.TopsisInsert;
import cn.edu.hit.ht.pojo.TopsisInsertExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

@Mapper
@Component
public interface TopsisInsertMapper {
    int countByExample(TopsisInsertExample example);

    int deleteByExample(TopsisInsertExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TopsisInsert record);

    int insertSelective(TopsisInsert record);

    List<TopsisInsert> selectByExample(TopsisInsertExample example);

    TopsisInsert selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TopsisInsert record, @Param("example") TopsisInsertExample example);

    int updateByExample(@Param("record") TopsisInsert record, @Param("example") TopsisInsertExample example);

    int updateByPrimaryKeySelective(TopsisInsert record);

    int updateByPrimaryKey(TopsisInsert record);
}